package com.xuan.webfinally.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 边坡落石及碎落监测
 * </p>
 *
 * @author gyuxuan
 * @since 2025-05-18
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("slope_camera_ai")
@ApiModel(value="SlopeCameraAi对象", description="边坡落石及碎落监测")
public class SlopeCameraAi implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "主键ID")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "边坡编码")
    @TableField("slope_code")
    private String slopeCode;

    @ApiModelProperty(value = "传感器ID")
    @TableField("sensor_id")
    private String sensorId;

    @ApiModelProperty(value = "监测类型")
    @TableField("monitoring_type")
    private String monitoringType;

    @ApiModelProperty(value = "监测区域")
    @TableField("monitoring_area")
    private String monitoringArea;

    @ApiModelProperty(value = "事件时间")
    @TableField("event_time")
    private LocalDateTime eventTime;

    @ApiModelProperty(value = "视频链接")
    @TableField("video_url")
    private String videoUrl;

    @ApiModelProperty(value = "检测图片")
    @TableField("detection_image")
    private String detectionImage;

    @ApiModelProperty(value = "报警状态")
    @TableField("alarm_status")
    private Integer alarmStatus;

    @ApiModelProperty(value = "管养部门")
    @TableField("dept_id")
    private Integer deptId;


}
